<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
  xmlns:py="http://genshi.edgewall.org/"
  xmlns:xi="http://www.w3.org/2001/XInclude">

  <xi:include href="master.html"/>
  
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>
    <title>ClutchAdmin</title>
  </head>
  
  <body>

    <h1>ClutchAdmin</h1>
    
    <h2>Current Instances</h2>
    <table>
      <thead>
        <tr>
          <th>Mount Point</th><th>Instance Name</th><th>Unmount?</th>
        </tr>
      </thead>
      <tbody>
        <tr py:for="mp, inst in mtab">
          <td>$mp</td>
          <td><a href="${inst}">$inst</a></td>
          <td><a href="${inst}/umount">Unmount</a></td>
        </tr>
      </tbody>
    </table>
  </body>
</html>